/*     */ package com.zimbra.cs.octosync.store;
/*     */ 
/*     */ import com.zimbra.common.service.ServiceException;
/*     */ import com.zimbra.cs.store.Blob;
/*     */ import com.zimbra.cs.store.IncomingBlob;
/*     */ import java.io.IOException;
/*     */ import java.io.InputStream;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public abstract class BlobStore
/*     */ {
/*     */   public abstract IncomingBlob createIncoming(Object paramObject)
/*     */     throws IOException, ServiceException;
/*     */   
/*     */   public abstract IncomingBlob getIncoming(String paramString);
/*     */   
/*     */   public abstract void deleteIncoming(IncomingBlob paramIncomingBlob);
/*     */   
/*     */   public abstract StoredBlob store(IncomingBlob paramIncomingBlob, String paramString, int paramInt)
/*     */     throws IOException, ServiceException;
/*     */   
/*     */   public abstract StoredBlob get(String paramString, int paramInt);
/*     */   
/*     */   public abstract StoredBlob get(String paramString);
/*     */   
/*     */   public abstract void delete(StoredBlob paramStoredBlob);
/*     */   
/*     */   public abstract void delete(StoredBlob paramStoredBlob, int paramInt);
/*     */   
/*     */   public abstract boolean supportsSisCreate();
/*     */   
/*     */   public abstract StoredBlob getSisBlob(byte[] paramArrayOfByte)
/*     */     throws IOException, ServiceException;
/*     */   
/*     */   public abstract class StoredBlob
/*     */   {
/*     */     private String id;
/*     */     protected Blob blob;
/*     */     
/*     */     public String getId()
/*     */     {
/*  73 */       return this.id;
/*     */     }
/*     */     
/*     */ 
/*     */ 
/*     */ 
/*     */     public Blob getBlob()
/*     */     {
/*  81 */       return this.blob;
/*     */     }
/*     */     
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */     public abstract InputStream getInputStream()
/*     */       throws IOException;
/*     */     
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */     public abstract Object getContext();
/*     */     
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */     public abstract void setContext(Object paramObject);
/*     */     
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */     public abstract long getSize();
/*     */     
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */     protected StoredBlob(String id, Blob blob)
/*     */     {
/* 118 */       this.id = id;
/* 119 */       this.blob = blob;
/*     */     }
/*     */   }
/*     */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/octosync/store/BlobStore.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */